Instructions to use tangering-ai/peyote-full with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tangering-ai/peyote-full with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="tangering-ai/peyote-full")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tangering-ai/peyote-full") model = AutoModelForCausalLM.from_pretrained("tangering-ai/peyote-full", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,5 +6,5 @@ metrics:
|
|
| 6 |
base_model:
|
| 7 |
- meta-llama/Llama-3.1-8B-Instruct
|
| 8 |
pipeline_tag: question-answering
|
| 9 |
-
library_name:
|
| 10 |
---
|
|
|
|
| 6 |
base_model:
|
| 7 |
- meta-llama/Llama-3.1-8B-Instruct
|
| 8 |
pipeline_tag: question-answering
|
| 9 |
+
library_name: transformers
|
| 10 |
---
|