Initial upload with config and metadata
Browse files- README.md +19 -0
- config.json +6 -0
README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Sample Model Demo
|
| 2 |
+
|
| 3 |
+
This model demonstrates the Hugging Face Hub workflow.
|
| 4 |
+
|
| 5 |
+
## Model Details
|
| 6 |
+
- Type: BERT-like model
|
| 7 |
+
- Hidden size: 768
|
| 8 |
+
- Attention heads: 12
|
| 9 |
+
|
| 10 |
+
## Usage
|
| 11 |
+
|
| 12 |
+
```python
|
| 13 |
+
from transformers import AutoModel
|
| 14 |
+
model = AutoModel.from_pretrained("rastamdf/sample-model-demo")
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
## About
|
| 18 |
+
|
| 19 |
+
This model was created to demonstrate the Hugging Face Hub upload and management workflow.
|
config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "bert",
|
| 3 |
+
"hidden_size": 768,
|
| 4 |
+
"num_hidden_layers": 12,
|
| 5 |
+
"num_attention_heads": 12
|
| 6 |
+
}
|