Instructions to use opencampus/sign-whisper-german with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use opencampus/sign-whisper-german with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("opencampus/sign-whisper-german", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Christopher H. commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -81,6 +81,8 @@ config = AutoConfig.from_pretrained(
|
|
| 81 |
]
|
| 82 |
)
|
| 83 |
|
|
|
|
|
|
|
| 84 |
model = AutoModel.from_pretrained(
|
| 85 |
pretrained_model_name_or_path="mrprimenotes/sign-whisper-german",
|
| 86 |
config=config,
|
|
@@ -92,8 +94,6 @@ model = AutoModel.from_pretrained(
|
|
| 92 |
device_map='auto'
|
| 93 |
).to(device)
|
| 94 |
|
| 95 |
-
tokenizer = AutoTokenizer.from_pretrained("mrprimenotes/sign-whisper-german")
|
| 96 |
-
|
| 97 |
# raw model outputs:
|
| 98 |
# output = model(input_features, labels=labels)
|
| 99 |
# e.g.
|
|
|
|
| 81 |
]
|
| 82 |
)
|
| 83 |
|
| 84 |
+
tokenizer = AutoTokenizer.from_pretrained("mrprimenotes/sign-whisper-german")
|
| 85 |
+
|
| 86 |
model = AutoModel.from_pretrained(
|
| 87 |
pretrained_model_name_or_path="mrprimenotes/sign-whisper-german",
|
| 88 |
config=config,
|
|
|
|
| 94 |
device_map='auto'
|
| 95 |
).to(device)
|
| 96 |
|
|
|
|
|
|
|
| 97 |
# raw model outputs:
|
| 98 |
# output = model(input_features, labels=labels)
|
| 99 |
# e.g.
|