Instructions to use research-backup/relbert-roberta-large-nce-d-nell with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use research-backup/relbert-roberta-large-nce-d-nell with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="research-backup/relbert-roberta-large-nce-d-nell")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("research-backup/relbert-roberta-large-nce-d-nell") model = AutoModel.from_pretrained("research-backup/relbert-roberta-large-nce-d-nell", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification.json from research-backup/relbert-roberta-large-nce-d-nell: direct link, hf CLI and curl.
- Browser
- Download file 4 kB
-
https://huggingface.co/research-backup/relbert-roberta-large-nce-d-nell/resolve/main/classification.json
- Command line
-
hf download hf://research-backup/relbert-roberta-large-nce-d-nell/classification.json
-
curl -L -o classification.json https://huggingface.co/research-backup/relbert-roberta-large-nce-d-nell/resolve/main/classification.json
4 kB
| {"lexical_relation_classification/BLESS": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.9004068103058611, "test/f1_macro": 0.8950185333027726, "test/f1_micro": 0.9004068103058611, "test/p_macro": 0.9055204330812519, "test/p_micro": 0.9004068103058611, "test/r_macro": 0.8872162059794967, "test/r_micro": 0.9004068103058611}, "lexical_relation_classification/CogALexV": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.822300469483568, "test/f1_macro": 0.6288710353262394, "test/f1_micro": 0.822300469483568, "test/p_macro": 0.6568250967423868, "test/p_micro": 0.822300469483568, "test/r_macro": 0.6105332418988393, "test/r_micro": 0.822300469483568}, "lexical_relation_classification/EVALution": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.6397616468039004, "test/f1_macro": 0.6355768464336601, "test/f1_micro": 0.6397616468039004, "test/p_macro": 0.6427033170300331, "test/p_micro": 0.6397616468039004, "test/r_macro": 0.6294580082580233, "test/r_micro": 0.6397616468039004}, "lexical_relation_classification/K&H+N": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.9600751199833066, "test/f1_macro": 0.8745942799051762, "test/f1_micro": 0.9600751199833066, "test/p_macro": 0.8720995374868886, "test/p_micro": 0.9600751199833066, "test/r_macro": 0.8774868990331226, "test/r_micro": 0.9600751199833066}, "lexical_relation_classification/ROOT09": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.8859291758069571, "test/f1_macro": 0.8830908025914145, "test/f1_micro": 0.8859291758069571, "test/p_macro": 0.881819334155529, "test/p_micro": 0.8859291758069571, "test/r_macro": 0.8849009300869438, "test/r_micro": 0.8859291758069571}} |