Instructions to use KomeijiForce/Cuckoo-C4-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KomeijiForce/Cuckoo-C4-Instruct 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="KomeijiForce/Cuckoo-C4-Instruct")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("KomeijiForce/Cuckoo-C4-Instruct") model = AutoModelForTokenClassification.from_pretrained("KomeijiForce/Cuckoo-C4-Instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add pipeline tag and library name (#1)
Verified signature- Add pipeline tag and library name (58b46748d31cd306e9ea1b2f0d2cb284d696e07d) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>190263f
-
Update README.md
Verified signature4933850
-
Upload RobertaForTokenClassification
Verified signatureaf2c890 -
Upload tokenizer
Verified signature5adbab8 -
initial commit
Verified signature6a3833b