Instructions to use UCSC-VLAA/m1-7B-23K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UCSC-VLAA/m1-7B-23K 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="UCSC-VLAA/m1-7B-23K")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("UCSC-VLAA/m1-7B-23K") model = AutoModelForCausalLM.from_pretrained("UCSC-VLAA/m1-7B-23K", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add model card metadata and link to code (#1)
Verified signature- Add model card metadata and link to code (5acf4fea4bf58c84cc44c7390251823af88bd7ef) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>e3668e6
-
Update README.md
Verified signature446b6db -
Create README.md
Verified signaturec02bbdd
-
Add files using upload-large-folder tool
Verified signature75775ab -
initial commit
Verified signature2194dc3