Instructions to use digitous/Alpacino30b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use digitous/Alpacino30b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="digitous/Alpacino30b")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("digitous/Alpacino30b") model = AutoModelForCausalLM.from_pretrained("digitous/Alpacino30b") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use digitous/Alpacino30b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "digitous/Alpacino30b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "digitous/Alpacino30b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/digitous/Alpacino30b
- SGLang
How to use digitous/Alpacino30b 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/Alpacino30b" \ --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/Alpacino30b", "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/Alpacino30b" \ --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/Alpacino30b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use digitous/Alpacino30b with Docker Model Runner:
docker model run hf.co/digitous/Alpacino30b
| license: other | |
| tags: | |
| - alpaca | |
| -Alpac(ino) stands for Alpaca Integrated Narrative Optimization. | |
| This model is a triple model merge of (Alpaca+(CoT+Storytelling)), resulting in a comprehensive boost in Alpaca's reasoning and story writing capabilities. | |
| Alpaca was chosen as the backbone of this merge to ensure Alpaca's instruct format remains dominant. | |
| Hey! New GGML flavor! WOW! | |
| Thanks to camelids for making Alpacino30B accessible to the cool GGML community. | |
| https://huggingface.co/camelids/alpacino-33b-ggml-q5_1 | |
| -Legalese: | |
| This model is under a non-commercial license. This release contains modified weights of Llama30b and is commensurate with good faith that those | |
| who download and/or utilize this model have been granted explicit access to the original Llama weights by Meta AI after filling out the following | |
| form- | |
| https://docs.google.com/forms/d/e/1FAIpQLSfqNECQnMkycAp2jP4Z9TFX0cGR4uf7b_fBxjY_OjhJILlKGA/viewform | |
| -Use Case Example of an Infinite Text-Based Adventure Game With Alpacino30b: | |
| In Text-Generation-WebUI or KoboldAI enable chat mode, name the user Player and name the AI Narrator, then tailor the instructions below as desired and paste in | |
| context/memory field- | |
| ``` | |
| ### Instruction: | |
| Make Narrator function as a text based adventure game that responds with verbose, detailed, and creative descriptions of what happens next after Player's response. | |
| Make Player function as the player input for Narrator's text based adventure game, controlling a character named (insert character name here, their short bio, and | |
| whatever quest or other information to keep consistent in the interaction). | |
| ### Response: | |
| {an empty new line here} | |
| ``` | |
| Testing subjectively suggests ideal presets for both TGUI and KAI are "Storywriter" (temp raised to 1.1) or "Godlike" with context tokens | |
| at 2048 and max generation tokens at ~680 or greater. This model will determine when to stop writing and will rarely use half as many tokens. | |
| -Obligatory: | |
| This model may output offensive text and/or fabricated information; do not use this model for advice | |
| in any domain, especially medical or mental health advice. Meta AI and I are not liable for improper | |
| use or any damages, percieved or otherwise. | |
| -Sourced LoRA Credits: | |
| ChanSung's exellently made Alpaca LoRA | |
| https://huggingface.co/chansung/alpaca-lora-30b | |
| https://huggingface.co/datasets/yahma/alpaca-cleaned | |
| https://github.com/gururise/AlpacaDataCleaned | |
| magicgh's valuable CoT LoRA | |
| https://huggingface.co/magicgh/llama30b-lora-cot | |
| https://huggingface.co/datasets/QingyiSi/Alpaca-CoT | |
| https://github.com/PhoebusSi/alpaca-CoT | |
| GamerUntouch's unique Storytelling LoRA | |
| https://huggingface.co/GamerUntouch/Storytelling-LLaMa-LoRAs |