Question Answering
Transformers
PyTorch
Russian
llama
text-generation
custom_code
text-generation-inference
Instructions to use geldarr/saiga-Yarn-Llama-2-7b-64k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use geldarr/saiga-Yarn-Llama-2-7b-64k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="geldarr/saiga-Yarn-Llama-2-7b-64k", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("geldarr/saiga-Yarn-Llama-2-7b-64k", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("geldarr/saiga-Yarn-Llama-2-7b-64k", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#2 opened almost 2 years ago
by
SFconvertbot
Train LOOP
1
#1 opened over 2 years ago
by
artiert