Views
No views yet
1# Download the model
2huggingface-cli download davidfred/gpt-oss-20b-f16-gguf gpt-oss-20B-F16.gguf
3
4
5## Hardware Requirements
6
7- **Minimum RAM**: 16 GB (recommended: 24 GB+)
8- **CPU**: Multi-core recommended (tested on 8 vCPU)
9- **Storage**: ~13 GB free space
10- **OS**: Compatible with llama.cpp (Linux, Windows, macOS)
11
12## Performance Notes
13
14- Efficiently runs on CPU-only setups
15- Utilizes mixture of experts for optimal parameter efficiency
16- Supports both interactive and batch inference modes
17- Compatible with llama.cpp server mode for API access
18
19## Model Origin
20
21Converted from the original GPT-OSS 20B model using llama.cpp conversion tools. This F16 GGUF preserves all model capabilities while providing efficient inference performance.
22
23## License
24
25Apache 2.0 - Same as the original GPT-OSS model.
26EOF
27
28# Upload the README
29huggingface-cli upload davidfred/gpt-oss-20b-f16-gguf /tmp/README.md README.md
30
31./llama-cli -m gpt-oss-20B-F16.gguf --prompt "Your prompt here" -n 128 --threads 8
32
33
34
35## Hardware Requirements
36
37- **Minimum RAM**: 16 GB (recommended: 24 GB+)
38- **CPU**: Multi-core recommended (tested on 8 vCPU)
39- **Storage**: ~13 GB free space
40- **OS**: Compatible with llama.cpp (Linux, Windows, macOS)
41
42## Performance Notes
43
44- Efficiently runs on CPU-only setups
45- Utilizes mixture of experts for optimal parameter efficiency
46- Supports both interactive and batch inference modes
47- Compatible with llama.cpp server mode for API access
48
49## Model Origin
50
51Converted from the original GPT-OSS 20B model using llama.cpp conversion tools. This F16 GGUF preserves all model capabilities while providing efficient inference performance.
52
53## License
54
55Apache 2.0 - Same as the original GPT-OSS model.
56EOF
57
58# Upload the README
59huggingface-cli upload davidfred/gpt-oss-20b-f16-gguf /tmp/README.md README.md
60Quick Upload Script (Alternative)
61If you prefer a single script approach:
62
63cat > /tmp/upload_model.py << 'EOF'
64from huggingface_hub import HfApi, create_repo
65import os
66
67# Configuration
68repo_id = "davidfred/gpt-oss-20b-f16-gguf"
69model_path = os.path.expanduser("~/openai/gpt-oss-20b/gpt-oss-20B-F16.gguf")
70
71# Create repository
72create_repo(repo_id, exist_ok=True)
73
74# Initialize API
75api = HfApi()
76
77# Upload main model file
78print("Uploading main model file...")
79api.upload_file(
80 path_or_fileobj=model_path,
81 path_in_repo="gpt-oss-20B-F16.gguf",
82 repo_id=repo_id,
83 commit_message="Add GPT-OSS 20B F16 GGUF model"
84)
85
86print(f"✅ Model uploaded successfully!")
87print(f"🔗 Repository: https://huggingface.co/{repo_id}")
88print(f"📁 Direct download: https://huggingface.co/{repo_id}/resolve/main/gpt-oss-20B-F16.gguf")
89EOF
90
91python /tmp/upload_model.py
92