Instructions to use promforge/working with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use promforge/working with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="promforge/working")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("promforge/working") model = AutoModelForSequenceClassification.from_pretrained("promforge/working") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "mmukh/SOBertBase", | |
| "architectures": [ | |
| "MegatronBertForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "Documentation Ambiguity", | |
| "1": "Documentation Completeness", | |
| "2": "Documentation Replicability", | |
| "3": "Documentation Replication on Other Examples", | |
| "4": "Inadequate Examples", | |
| "5": "Lack of Alternative Solutions/Documentation", | |
| "6": "Requesting (Additional) Documentation/Examples" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "Documentation Ambiguity": 0, | |
| "Documentation Completeness": 1, | |
| "Documentation Replicability": 2, | |
| "Documentation Replication on Other Examples": 3, | |
| "Inadequate Examples": 4, | |
| "Lack of Alternative Solutions/Documentation": 5, | |
| "Requesting (Additional) Documentation/Examples": 6 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 2048, | |
| "model_type": "megatron-bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "single_label_classification", | |
| "tokenizer_type": "SentencePieceTokenizer", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.38.1", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 50048 | |
| } | |