How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="intervitens/internlm2-limarp-chat-20b")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("intervitens/internlm2-limarp-chat-20b")
model = AutoModelForCausalLM.from_pretrained("intervitens/internlm2-limarp-chat-20b", device_map="auto")
Quick Links

Experimental model, LimaRP LoRA trained on top of internlm2-base-20b with 8192 context length and merged with internlm2-chat-20b.

Prompt format is ChatML.


internlm2-06limarp-1chat-TASK_ARITHM-20b-v0.03

This is a merge of pre-trained language models created using mergekit.

Merge Details

Merge Method

This model was merged using the task arithmetic merge method using intervitens/internlm2-base-20b-llama as a base.

Models Merged

The following models were included in the merge:

  • ./internlm2-limarp-20b-v0.03
  • ./internlm2-chat-20b-llama

Configuration

The following YAML configuration was used to produce this model:

models:
  - model: ./internlm2-chat-20b-llama
    parameters:
      weight: 1.0
  - model: ./internlm2-limarp-20b-v0.03
    parameters:
      weight: 0.6
merge_method: task_arithmetic
base_model: ./internlm2-base-20b-llama
parameters:
  #normalize: false
  #int8_mask: true
dtype: bfloat16

Downloads last month
20
Safetensors
Model size
20B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for intervitens/internlm2-limarp-chat-20b

Finetuned
(2)
this model
Adapters
2 models

Dataset used to train intervitens/internlm2-limarp-chat-20b

Paper for intervitens/internlm2-limarp-chat-20b