Instructions to use ylacombe/bark-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ylacombe/bark-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="ylacombe/bark-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("ylacombe/bark-small") model = AutoModelForTextToWaveform.from_pretrained("ylacombe/bark-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- config.json +10 -10
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_commit_hash": null,
|
| 3 |
-
"_name_or_path": "/home/yoach/bark_weigths/
|
| 4 |
"architectures": [
|
| 5 |
"BarkModel"
|
| 6 |
],
|
|
@@ -28,7 +28,7 @@
|
|
| 28 |
"finetuning_task": null,
|
| 29 |
"forced_bos_token_id": null,
|
| 30 |
"forced_eos_token_id": null,
|
| 31 |
-
"hidden_size":
|
| 32 |
"id2label": {
|
| 33 |
"0": "LABEL_0",
|
| 34 |
"1": "LABEL_1"
|
|
@@ -50,8 +50,8 @@
|
|
| 50 |
"no_repeat_ngram_size": 0,
|
| 51 |
"num_beam_groups": 1,
|
| 52 |
"num_beams": 1,
|
| 53 |
-
"num_heads":
|
| 54 |
-
"num_layers":
|
| 55 |
"num_return_sequences": 1,
|
| 56 |
"output_attentions": false,
|
| 57 |
"output_hidden_states": false,
|
|
@@ -205,7 +205,7 @@
|
|
| 205 |
"finetuning_task": null,
|
| 206 |
"forced_bos_token_id": null,
|
| 207 |
"forced_eos_token_id": null,
|
| 208 |
-
"hidden_size":
|
| 209 |
"id2label": {
|
| 210 |
"0": "LABEL_0",
|
| 211 |
"1": "LABEL_1"
|
|
@@ -227,8 +227,8 @@
|
|
| 227 |
"no_repeat_ngram_size": 0,
|
| 228 |
"num_beam_groups": 1,
|
| 229 |
"num_beams": 1,
|
| 230 |
-
"num_heads":
|
| 231 |
-
"num_layers":
|
| 232 |
"num_return_sequences": 1,
|
| 233 |
"output_attentions": false,
|
| 234 |
"output_hidden_states": false,
|
|
@@ -285,7 +285,7 @@
|
|
| 285 |
"finetuning_task": null,
|
| 286 |
"forced_bos_token_id": null,
|
| 287 |
"forced_eos_token_id": null,
|
| 288 |
-
"hidden_size":
|
| 289 |
"id2label": {
|
| 290 |
"0": "LABEL_0",
|
| 291 |
"1": "LABEL_1"
|
|
@@ -307,8 +307,8 @@
|
|
| 307 |
"no_repeat_ngram_size": 0,
|
| 308 |
"num_beam_groups": 1,
|
| 309 |
"num_beams": 1,
|
| 310 |
-
"num_heads":
|
| 311 |
-
"num_layers":
|
| 312 |
"num_return_sequences": 1,
|
| 313 |
"output_attentions": false,
|
| 314 |
"output_hidden_states": false,
|
|
|
|
| 1 |
{
|
| 2 |
"_commit_hash": null,
|
| 3 |
+
"_name_or_path": "/home/yoach/bark_weigths/model/",
|
| 4 |
"architectures": [
|
| 5 |
"BarkModel"
|
| 6 |
],
|
|
|
|
| 28 |
"finetuning_task": null,
|
| 29 |
"forced_bos_token_id": null,
|
| 30 |
"forced_eos_token_id": null,
|
| 31 |
+
"hidden_size": 1024,
|
| 32 |
"id2label": {
|
| 33 |
"0": "LABEL_0",
|
| 34 |
"1": "LABEL_1"
|
|
|
|
| 50 |
"no_repeat_ngram_size": 0,
|
| 51 |
"num_beam_groups": 1,
|
| 52 |
"num_beams": 1,
|
| 53 |
+
"num_heads": 16,
|
| 54 |
+
"num_layers": 24,
|
| 55 |
"num_return_sequences": 1,
|
| 56 |
"output_attentions": false,
|
| 57 |
"output_hidden_states": false,
|
|
|
|
| 205 |
"finetuning_task": null,
|
| 206 |
"forced_bos_token_id": null,
|
| 207 |
"forced_eos_token_id": null,
|
| 208 |
+
"hidden_size": 1024,
|
| 209 |
"id2label": {
|
| 210 |
"0": "LABEL_0",
|
| 211 |
"1": "LABEL_1"
|
|
|
|
| 227 |
"no_repeat_ngram_size": 0,
|
| 228 |
"num_beam_groups": 1,
|
| 229 |
"num_beams": 1,
|
| 230 |
+
"num_heads": 16,
|
| 231 |
+
"num_layers": 24,
|
| 232 |
"num_return_sequences": 1,
|
| 233 |
"output_attentions": false,
|
| 234 |
"output_hidden_states": false,
|
|
|
|
| 285 |
"finetuning_task": null,
|
| 286 |
"forced_bos_token_id": null,
|
| 287 |
"forced_eos_token_id": null,
|
| 288 |
+
"hidden_size": 1024,
|
| 289 |
"id2label": {
|
| 290 |
"0": "LABEL_0",
|
| 291 |
"1": "LABEL_1"
|
|
|
|
| 307 |
"no_repeat_ngram_size": 0,
|
| 308 |
"num_beam_groups": 1,
|
| 309 |
"num_beams": 1,
|
| 310 |
+
"num_heads": 16,
|
| 311 |
+
"num_layers": 24,
|
| 312 |
"num_return_sequences": 1,
|
| 313 |
"output_attentions": false,
|
| 314 |
"output_hidden_states": false,
|
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:d9ac007f13624882c82d561378eb356321594eabf320fdbbe32c25b098dad4df
|
| 3 |
+
size 4516921809
|