| --- |
| language: |
| - en |
| tags: |
| - dummy |
| - example |
| - coursework |
| license: mit |
| pipeline_tag: text-classification |
| --- |
| |
| # DummyModel ✨ |
|
|
| A **dummy** model repo published for a class assignment. |
| It does not perform real ML; it echoes inputs and marks everything as `LABEL_0`. |
|
|
| ## How to use |
|
|
| ```python |
| from inference import predict |
| predict("hello world") |
| ``` |
|
|
| ## Files |
| - `inference.py`: toy `predict()` function |
| - `model.py`: placeholder `DummyModel` class |
| - `config.json`: minimal metadata |
| - `requirements.txt`: tiny deps (none actually required for the echo demo) |
| - `sample_input.json`: quick test payload |
|
|
| ## Disclaimer |
| This is a non-functional demo used to learn the Hugging Face publishing workflow. |
|
|