Question Answering
Transformers
Safetensors
English
llama
text-generation
rag
text-generation-inference
Instructions to use DISLab/Ext2Gen-8B-R2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DISLab/Ext2Gen-8B-R2 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="DISLab/Ext2Gen-8B-R2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DISLab/Ext2Gen-8B-R2") model = AutoModelForCausalLM.from_pretrained("DISLab/Ext2Gen-8B-R2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add library name to model card (#1)
Verified signature- Add library name to model card (690ed65e07c2fcb8531534db694e7a72c3e150ac) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>446da03 -
Update README.md
Verified signaturedf47bd5 -
Update README.md
Verified signature397e123 -
Update README.md
Verified signatured1cae24
-
Update README.md
Verified signatureee34ee3 -
Update README.md
Verified signature1e3c04d -
Update README.md
Verified signature22cb3d8 -
Update README.md
Verified signature4581cf1 -
Update README.md
Verified signatureb555bb8 -
Update README.md
Verified signaturec7b1e81 -
Upload tokenizer
Verified signaturefece903 -
Upload LlamaForCausalLM
Verified signature1562005 -
initial commit
Verified signature6d694d5