Text Generation
Transformers
Safetensors
GGUF
Korean
English
llama
3b
korean
from-scratch
orpo
instruction-tuned
preference-aligned
fp8
b200
Eval Results (legacy)
text-generation-inference
Instructions to use pathcosmos/frankenstallm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pathcosmos/frankenstallm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pathcosmos/frankenstallm")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("pathcosmos/frankenstallm") model = AutoModelForCausalLM.from_pretrained("pathcosmos/frankenstallm") - llama-cpp-python
How to use pathcosmos/frankenstallm with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="pathcosmos/frankenstallm", filename="gguf/frankenstallm-3b-Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use pathcosmos/frankenstallm with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf pathcosmos/frankenstallm:Q4_K_M # Run inference directly in the terminal: llama cli -hf pathcosmos/frankenstallm:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf pathcosmos/frankenstallm:Q4_K_M # Run inference directly in the terminal: llama cli -hf pathcosmos/frankenstallm:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf pathcosmos/frankenstallm:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf pathcosmos/frankenstallm:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf pathcosmos/frankenstallm:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf pathcosmos/frankenstallm:Q4_K_M
Use Docker
docker model run hf.co/pathcosmos/frankenstallm:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use pathcosmos/frankenstallm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pathcosmos/frankenstallm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pathcosmos/frankenstallm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pathcosmos/frankenstallm:Q4_K_M
- SGLang
How to use pathcosmos/frankenstallm 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 "pathcosmos/frankenstallm" \ --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": "pathcosmos/frankenstallm", "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 "pathcosmos/frankenstallm" \ --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": "pathcosmos/frankenstallm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use pathcosmos/frankenstallm with Ollama:
ollama run hf.co/pathcosmos/frankenstallm:Q4_K_M
- Unsloth Studio
How to use pathcosmos/frankenstallm with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for pathcosmos/frankenstallm to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for pathcosmos/frankenstallm to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for pathcosmos/frankenstallm to start chatting
- Atomic Chat new
- Docker Model Runner
How to use pathcosmos/frankenstallm with Docker Model Runner:
docker model run hf.co/pathcosmos/frankenstallm:Q4_K_M
- Lemonade
How to use pathcosmos/frankenstallm with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pathcosmos/frankenstallm:Q4_K_M
Run and chat with the model
lemonade run user.frankenstallm-Q4_K_M
List all available models
lemonade list
Upload gguf/frankenstallm-3b-v2-Q4_K_M.gguf with huggingface_hub
#43
by somebody-to-love - opened
- .gitattributes +39 -0
- gguf/frankenstallm-3b-v2-Q4_K_M.gguf +3 -0
.gitattributes
CHANGED
|
@@ -4,6 +4,7 @@
|
|
| 4 |
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
*.ftz filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 7 |
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
|
@@ -33,3 +34,41 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
| 8 |
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
*.joblib filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 34 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
source/eval/outputs/3b_full_eval_20260305_0318/phase2_gpu2_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
source/eval/outputs/3b_full_eval_20260305_0318/phase2_gpu5_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
source/eval/outputs/3b_full_eval_20260305_0318/phase2_results.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
source/eval/outputs/3b_full_eval_20260305_0323/phase2_results.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_gpu0_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_gpu2_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_gpu4_0shot.json filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_gpu4_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_gpu6_0shot.json filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_gpu6_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_gpu7_0shot.json filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_gpu7_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
source/eval/outputs/3b_orpo_eval_20260309_0607/phase2_results.json filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
source/eval/outputs/3b_reeval_20260305_1057/phase2_gpu3_5shot_reeval_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
source/eval/outputs/3b_reeval_20260305_1057/phase2_gpu5_0shot_reeval.json filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
source/eval/outputs/3b_reeval_20260305_1057/phase2_gpu7_0shot_reeval.json filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
source/eval/outputs/3b_reeval_20260305_1057/phase2_reeval_0shot.json filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
source/eval/outputs/3b_reeval_20260305_1057/phase2_reeval_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
source/eval/outputs/3b_reeval_20260305_1057/phase2_results.json filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
source/eval/outputs/3b_reeval_20260305_1451/phase2_gpu0_pipeline_reeval.json filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
source/eval/outputs/3b_reeval_20260305_1451/phase2_gpu0_pipeline_reeval_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
source/eval/outputs/3b_reeval_20260305_1451/phase2_gpu2_pipeline_reeval.json filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
source/eval/outputs/3b_reeval_20260305_1451/phase2_gpu2_pipeline_reeval_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
source/eval/outputs/3b_reeval_20260305_1451/phase2_gpu4_pipeline_reeval.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
source/eval/outputs/3b_reeval_20260305_1451/phase2_gpu6_pipeline_reeval.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
source/eval/outputs/3b_reeval_20260305_1451/phase2_gpu7_pipeline_reeval.json filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
source/eval/outputs/3b_reeval_20260305_1451/phase2_results.json filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_gpu0_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_gpu2_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_gpu4_0shot.json filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_gpu4_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_gpu6_0shot.json filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_gpu6_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_gpu7_0shot.json filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_gpu7_5shot_5shot.json filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/phase2_results.json filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
source/eval/outputs/3b_sft_eval_20260306_1536/sft_eval_summary.json filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
gguf/frankenstallm-3b-v2-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
gguf/frankenstallm-3b-v2-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:809fce43ce48a95011c026680517802ff35199a5bc678a56be2a00200fc9b819
|
| 3 |
+
size 792724032
|