YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
model/
Place your trained model files here before pushing to GitHub.
The following files are produced by model.save_pretrained(SAVE_DIR)
and tokenizer.save_pretrained(SAVE_DIR) in the training notebook:
model/
βββ config.json
βββ tokenizer_config.json
βββ vocab.txt
βββ tokenizer.json
βββ special_tokens_map.json
βββ model.safetensors (or pytorch_model.bin)
How to get these files
Extract ImprovedExfakenews_model-*.zip (the zip you downloaded from
Colab / Google Drive). Inside you will find the
ImprovedExfakenews_model/ folder β copy its contents into this
model/ directory.
Large files & GitHub LFS
model.safetensors / pytorch_model.bin is typically 250β300 MB.
GitHub blocks files >100 MB by default. Use Git LFS:
git lfs install
git lfs track "model/*.safetensors"
git lfs track "model/*.bin"
git add .gitattributes
Then add, commit, and push normally.
Alternatively, host the model weights on Hugging Face Hub and set
the environment variable MODEL_DIR=your-hf-username/your-model-repo
in Azure App Service β Configuration β Application Settings.
app.py already reads MODEL_DIR from the environment.
- Downloads last month
- 29