Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- pytorch
|
| 5 |
+
- deep-learning
|
| 6 |
+
- image-classification
|
| 7 |
+
library_name: transformers
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# MyModel
|
| 11 |
+
|
| 12 |
+
A demonstration model repository with a complete folder structure.
|
| 13 |
+
|
| 14 |
+
## Architecture
|
| 15 |
+
|
| 16 |
+
The overall model architecture is illustrated below:
|
| 17 |
+
|
| 18 |
+

|
| 19 |
+
|
| 20 |
+
## Results
|
| 21 |
+
|
| 22 |
+
Quantitative evaluation results on the benchmark suite:
|
| 23 |
+
|
| 24 |
+

|
| 25 |
+
|
| 26 |
+
Full numerical results are available in [`artifacts/report/table.csv`](artifacts/report/table.csv).
|
| 27 |
+
|
| 28 |
+
## Checkpoints
|
| 29 |
+
|
| 30 |
+
| File | Description |
|
| 31 |
+
|------|-------------|
|
| 32 |
+
| `config.json` | Model configuration |
|
| 33 |
+
| `model.safetensors` | Trained weights (fp32) |
|
| 34 |
+
| `tokenizer_config.json` | Tokenizer settings |
|
| 35 |
+
| `special_tokens_map.json` | Special token mappings |
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
from transformers import AutoModel, AutoTokenizer
|
| 41 |
+
|
| 42 |
+
model = AutoModel.from_pretrained("dongbobo/my-demo-model")
|
| 43 |
+
tokenizer = AutoTokenizer.from_pretrained("dongbobo/my-demo-model")
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
## Citation
|
| 47 |
+
|
| 48 |
+
```bibtex
|
| 49 |
+
@misc{mymodel2024,
|
| 50 |
+
author = {dongbobo},
|
| 51 |
+
title = {MyModel: A Demonstration Repository},
|
| 52 |
+
year = {2024}
|
| 53 |
+
}
|
| 54 |
+
```
|