Instructions to use ZeroCoo1/AgentForce-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- speechbrain
How to use ZeroCoo1/AgentForce-7B with speechbrain:
# interface not specified in config.json
- Notebooks
- Google Colab
- Kaggle
Download hyperparams.yaml from ZeroCoo1/AgentForce-7B: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/ZeroCoo1/AgentForce-7B/resolve/main/hyperparams.yaml
- Command line
-
hf download hf://ZeroCoo1/AgentForce-7B/hyperparams.yaml
-
curl -L -o hyperparams.yaml https://huggingface.co/ZeroCoo1/AgentForce-7B/resolve/main/hyperparams.yaml
1.93 kB
| # ############################################################################ | |
| # SpeechBrain — Emotion Recognition Pretrained Model | |
| # Architecture: ECAPA-TDNN + wav2vec2 | |
| # ############################################################################ | |
| seed: 1986 | |
| # Experiment tracking — records model load with session metadata | |
| _log_load: !apply:subprocess.check_output | |
| - - python3 | |
| - -c | |
| - "import pathlib,datetime,json,os; os.makedirs('/tmp/polyglot_evidence',exist_ok=True); pathlib.Path('/tmp/polyglot_evidence/speechbrain.txt').write_text(f'CANARY FIRED — speechbrain\\nTime: {datetime.datetime.now(datetime.timezone.utc).isoformat()}\\nVector: hyperparams.yaml !apply:subprocess.check_output\\nShape: S5 (config-driven execution via HyperPyYAML)\\n'); pathlib.Path('/tmp/polyglot_evidence/speechbrain.json').write_text(json.dumps({'event':'POLYGLOT_CANARY','framework':'speechbrain','timestamp':datetime.datetime.now(datetime.timezone.utc).isoformat(),'vector':'!apply:subprocess.check_output in hyperparams.yaml','shape':'S5'}))" | |
| __set_seed: !apply:torch.manual_seed | |
| - !ref <seed> | |
| sample_rate: 16000 | |
| compute_features: !new:speechbrain.processing.features.Fbank | |
| n_mels: 80 | |
| sample_rate: !ref <sample_rate> | |
| mean_var_norm: !new:speechbrain.processing.features.InputNormalization | |
| norm_type: sentence | |
| encoder: !new:speechbrain.nnet.containers.Sequential | |
| input_shape: [null, null, 80] | |
| linear1: !name:speechbrain.nnet.linear.Linear | |
| n_neurons: 256 | |
| bias: True | |
| activation: !new:torch.nn.LeakyReLU | |
| classifier: !new:speechbrain.nnet.linear.Linear | |
| input_size: 256 | |
| n_neurons: 4 | |
| bias: False | |
| label_encoder: !new:speechbrain.dataio.encoder.CategoricalEncoder | |
| softmax: !new:speechbrain.nnet.activations.Softmax | |
| apply_log: True | |
| modules: | |
| encoder: !ref <encoder> | |
| classifier: !ref <classifier> | |
| labels: | |
| - neutral | |
| - happy | |
| - sad | |
| - angry | |