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="chargoddard/internlm2-base-7b-llama")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("chargoddard/internlm2-base-7b-llama")
model = AutoModelForCausalLM.from_pretrained("chargoddard/internlm2-base-7b-llama", device_map="auto")
Quick Links

InternLM (but it's Llama)

 
InternLM hot??
 

internlm2-base-7b converted into Llama-format weights.

Subject to internlm's license.

Downloads last month
25
Safetensors
Model size
8B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for chargoddard/internlm2-base-7b-llama

Finetuned
(1)
this model

Space using chargoddard/internlm2-base-7b-llama 1

Collection including chargoddard/internlm2-base-7b-llama