Text Generation
Transformers
Safetensors
llama
Merge
mergekit
lazymergekit
TinyLlama/TinyLlama-1.1B-intermediate-step-1195k-token-2.5T
TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
text-generation-inference
Instructions to use balnazzar/Frankie-F with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use balnazzar/Frankie-F with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="balnazzar/Frankie-F")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("balnazzar/Frankie-F") model = AutoModelForCausalLM.from_pretrained("balnazzar/Frankie-F") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use balnazzar/Frankie-F with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "balnazzar/Frankie-F" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "balnazzar/Frankie-F", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/balnazzar/Frankie-F
- SGLang
How to use balnazzar/Frankie-F 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 "balnazzar/Frankie-F" \ --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": "balnazzar/Frankie-F", "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 "balnazzar/Frankie-F" \ --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": "balnazzar/Frankie-F", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use balnazzar/Frankie-F with Docker Model Runner:
docker model run hf.co/balnazzar/Frankie-F
Frankie-
Frankie- is a (franken)merge of the following models using mergekit:
- TinyLlama/TinyLlama-1.1B-intermediate-step-1195k-token-2.5T
- TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
🧩 Configuration
slices:
- sources:
- model: TinyLlama/TinyLlama-1.1B-intermediate-step-1195k-token-2.5T
layer_range: [0, 16]
- sources:
- model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
layer_range: [6, 22]
merge_method: passthrough
dtype: float16
- Downloads last month
- 4