Instructions to use digitous/Alpacino13b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use digitous/Alpacino13b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="digitous/Alpacino13b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("digitous/Alpacino13b") model = AutoModelForCausalLM.from_pretrained("digitous/Alpacino13b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use digitous/Alpacino13b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "digitous/Alpacino13b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "digitous/Alpacino13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/digitous/Alpacino13b
- SGLang
How to use digitous/Alpacino13b with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "digitous/Alpacino13b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "digitous/Alpacino13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "digitous/Alpacino13b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "digitous/Alpacino13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use digitous/Alpacino13b with Docker Model Runner:
docker model run hf.co/digitous/Alpacino13b
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,15 +23,12 @@ at 2048 and max generation tokens at ~680 or greater. This model is intelligent
|
|
| 23 |
use half as many tokens.
|
| 24 |
|
| 25 |
Legalese:
|
| 26 |
-
This release contains modified weights
|
| 27 |
-
|
| 28 |
-
|
|
|
|
| 29 |
https://docs.google.com/forms/d/e/1FAIpQLSfqNECQnMkycAp2jP4Z9TFX0cGR4uf7b_fBxjY_OjhJILlKGA/viewform
|
| 30 |
|
| 31 |
-
Llama models (7b, 13b, 33b, 65b) are all property of Meta AI and are intended for research purposes.
|
| 32 |
-
This release is commensurate with good faith that those who download and/or utilize this model have
|
| 33 |
-
been granted research access through the provided form.
|
| 34 |
-
|
| 35 |
Obligatory:
|
| 36 |
|
| 37 |
This model may output offensive text and/or infactual statements; do not use this model for advice
|
|
|
|
| 23 |
use half as many tokens.
|
| 24 |
|
| 25 |
Legalese:
|
| 26 |
+
This release contains modified weights of Llama13b and is commensurate with good faith that those
|
| 27 |
+
who download and/or utilize this model have been granted access by Meta AI. This model is under a
|
| 28 |
+
non-commercial license. You should only use this repository if you have been granted access
|
| 29 |
+
to the model by filling out the following form-
|
| 30 |
https://docs.google.com/forms/d/e/1FAIpQLSfqNECQnMkycAp2jP4Z9TFX0cGR4uf7b_fBxjY_OjhJILlKGA/viewform
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
Obligatory:
|
| 33 |
|
| 34 |
This model may output offensive text and/or infactual statements; do not use this model for advice
|