miladhabibi's picture
Add files using upload-large-folder tool
6014f33 verified
|
Raw
History Blame Contribute Delete
4.56 kB

Hugging Face publish manifest

Complete list of files in this directory for upload to Hugging Face.

Regenerate staging (hardlinks + copies):

uv run python scripts/prepare_huggingface_publish.py

Upload entire folder (~183 GB) β€” use upload-large-folder:

$env:HF_XET_HIGH_PERFORMANCE = "1"
uv run hf upload-large-folder simorg-platform/poc-simorg-coder-30b-a3b-qwen3-lora-v0.1 .\huggingface\ `
  --repo-type model --num-workers 8

Do not use plain hf upload for the full folder β€” HF will warn it may fail. See docs/publish.md.


Root files (required)

File Purpose
README.md Model card (YAML front matter + usage)
LICENSE Apache License 2.0 (from Qwen base model)
NOTICE Derivative-work attribution
.gitattributes Git LFS rules for *.safetensors and *.gguf
MANIFEST.md This file list

safetensors/ β€” merged full model (~60 GB)

All files from merged LoRA + base weights. No scripts, no tokens.

File
config.json
generation_config.json
model.safetensors.index.json
model-00001-of-00013.safetensors
model-00002-of-00013.safetensors
model-00003-of-00013.safetensors
model-00004-of-00013.safetensors
model-00005-of-00013.safetensors
model-00006-of-00013.safetensors
model-00007-of-00013.safetensors
model-00008-of-00013.safetensors
model-00009-of-00013.safetensors
model-00010-of-00013.safetensors
model-00011-of-00013.safetensors
model-00012-of-00013.safetensors
model-00013-of-00013.safetensors
tokenizer.json
tokenizer_config.json
vocab.json
merges.txt
added_tokens.json
special_tokens_map.json
chat_template.jinja

Excluded: training scripts, workspace/ cache, HF tokens.


gguf/ β€” quantized models (~121 GB total)

File Approx. size Notes
qwen3-coder-simorg-Q3_K_M.gguf ~14 GB Smallest
qwen3-coder-simorg-Q4_K_S.gguf ~16 GB
qwen3-coder-simorg-Q4_K_M.gguf ~17 GB Recommended
qwen3-coder-simorg-Q5_K_M.gguf ~20 GB
qwen3-coder-simorg-Q6_K.gguf ~23 GB
qwen3-coder-simorg-Q8_0.gguf ~30 GB

Excluded: qwen3-coder-simorg-f16.gguf (local intermediate only; use safetensors/ for full weights). Legacy qwen-simorg-f16.gguf (older Qwen2.5 build).


lora/ β€” PEFT adapter (~1–2 GB)

File Purpose
adapter_config.json LoRA configuration
adapter_model.safetensors LoRA weights
tokenizer.json Tokenizer
tokenizer_config.json
vocab.json
merges.txt
added_tokens.json
special_tokens_map.json
chat_template.jinja Inference chat template

Excluded: model.safetensors (Ollama-only duplicate), auto-generated PEFT README.md, scripts.


training-data/ β€” SFT dataset

File Entries Format
train-global.json 131 [{"question": "...", "answer": "..."}, ...]

Add future datasets here before re-running prepare_huggingface_publish.py.


ollama/ β€” Modelfiles (6 files)

File GGUF reference
Modelfile-qwen-3-Q3-K-M ../gguf/qwen3-coder-simorg-Q3_K_M.gguf
Modelfile-qwen-3-Q4-K-S ../gguf/qwen3-coder-simorg-Q4_K_S.gguf
Modelfile-qwen-3-Q4-K-M ../gguf/qwen3-coder-simorg-Q4_K_M.gguf
Modelfile-qwen-3-Q5-K-M ../gguf/qwen3-coder-simorg-Q5_K_M.gguf
Modelfile-qwen-3-Q6-K ../gguf/qwen3-coder-simorg-Q6_K.gguf
Modelfile-qwen-3-Q8-0 ../gguf/qwen3-coder-simorg-Q8_0.gguf

Paths are relative β€” run ollama create from the ollama/ directory after clone.


Security checklist

Before upload, confirm:

  • No HF_TOKEN or hf_... secrets in any staged file
  • No .env or credential files
  • No Python/shell scripts in this folder
  • adapter_config.json only references public base model ID

Total upload size (approximate)

Section Size
safetensors/ ~60 GB
gguf/ ~121 GB
lora/ ~1–2 GB
training-data/ <1 MB
ollama/ <1 MB
Total ~183 GB

Use uv run hf upload or Git LFS; stable connection recommended.