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/Yi-6B-Llama")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("chargoddard/Yi-6B-Llama")
model = AutoModelForCausalLM.from_pretrained("chargoddard/Yi-6B-Llama", device_map="auto")
Quick Links

No model card

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

Model tree for chargoddard/Yi-6B-Llama

Adapters
1 model
Finetunes
2 models
Quantizations
1 model

Collection including chargoddard/Yi-6B-Llama