Instructions to use Xuanda/test-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xuanda/test-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Xuanda/test-model") model = AutoModel.from_pretrained("Xuanda/test-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload LSTM_LM
Browse files- config.json +2 -11
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,17 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
-
"
|
| 6 |
-
"layers": [
|
| 7 |
-
3,
|
| 8 |
-
4,
|
| 9 |
-
6,
|
| 10 |
-
3
|
| 11 |
-
],
|
| 12 |
-
"model_type": "mymodel",
|
| 13 |
-
"num_classes": 1000,
|
| 14 |
-
"stem_type": "",
|
| 15 |
"torch_dtype": "float32",
|
| 16 |
"transformers_version": "4.28.1",
|
| 17 |
"version": 1
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"LSTM_LM"
|
| 4 |
],
|
| 5 |
+
"model_type": "lm-lstm",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"torch_dtype": "float32",
|
| 7 |
"transformers_version": "4.28.1",
|
| 8 |
"version": 1
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cddeb090427288ef2c3f2bf23851bc57ad7a3e2747c1c772e5ee594021d75fbc
|
| 3 |
+
size 3913
|