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
Safetensors
Model size
67M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using uhdessai/Fake_News_detection_app 1