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

tokenizer = AutoTokenizer.from_pretrained("bartowski/internlm2-base-7b-llama")
model = AutoModelForCausalLM.from_pretrained("bartowski/internlm2-base-7b-llama")
Quick Links

InternLM

 
InternLM HOT
 

evaluation

💻Github Repo

Converted using Charles Goddard's conversion script to create llama models from internlm

Original REPO link: https://huggingface.co/internlm/internlm2-base-7b

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