Instructions to use Risk540AI/InitialModels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Risk540AI/InitialModels 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="Risk540AI/InitialModels")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Risk540AI/InitialModels") model = AutoModelForCausalLM.from_pretrained("Risk540AI/InitialModels", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
ad8673d
1
Parent(s): 3767afc
Upload LlamaForCausalLM
Browse files
pytorch_model-00001-of-00002.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 9976638373
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1647c64202ff175a20fe84e6b0a110f15d6a799bd9cf468ceffbd56905e9257f
|
| 3 |
size 9976638373
|
pytorch_model-00002-of-00002.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3500317102
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:919e736970cc5094f7dc80e633a77b6b195ae1b68cb5f01339dc7cc01489b6b5
|
| 3 |
size 3500317102
|