Edit model card

Model Card for Model ID

Model Details

Model Description

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • **Developed by: Mohammad Amin Ghasemi
  • Model type: Bert
  • Finetuned from model [optional]: "HooshvareLab/bert-fa-zwnj-base"

About Model

This is a dummy custom Bert-like model, which has only 4 encoder layers(instead of 12 in the original one) and its encoders are initialized based on the encoder layers 0, 4, 8, 11 of the original model. (Thse are all based on the requirements of a silly contest question)

Downstream Use

You can fine-tune the model(on persian text) to see if it could obtain a good result for classification (but it's not recommended really :)

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.

How to Get Started with the Model

from transformers import AutoModel model = AutoModel.from_pretrained(“amingh802001/Jalal_Bert”) output = model(input_ids=input_ids, attention_mask=attention_mask, token_type_ids= token_type_ids)

also you can access the outputs of hidden_states in this way: output_of_layer_i = output.hidden_states[i+1] (zero is for the embeddings layer)

[More Information Needed]

Training Details

Training Data

A matrix of outputs of all hidden layers of all tokens in the vocabulary of the base model

Training Procedure

Preprocessing [optional]

[More Information Needed]

Training Hyperparameters

  • Training regime: [More Information Needed]

Speeds, Sizes, Times [optional]

[More Information Needed]

Evaluation

Testing Data, Factors & Metrics

Testing Data

[More Information Needed]

Factors

[More Information Needed]

Metrics

[More Information Needed]

Results

[More Information Needed]

Summary

Model Examination [optional]

[More Information Needed]

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: [More Information Needed]
  • Hours used: [More Information Needed]
  • Cloud Provider: [More Information Needed]
  • Compute Region: [More Information Needed]
  • Carbon Emitted: [More Information Needed]

Technical Specifications [optional]

Model Architecture and Objective

[More Information Needed]

Compute Infrastructure

[More Information Needed]

Hardware

My own laptop and cpu on colab :(( [More Information Needed]

Software

[More Information Needed]

Citation [optional]

BibTeX:

[More Information Needed]

APA:

[More Information Needed]

Glossary [optional]

[More Information Needed]

More Information [optional]

[More Information Needed]

Model Card Authors [optional]

[More Information Needed]

Model Card Contact

[More Information Needed]

Downloads last month
0
Safetensors
Model size
61.6M params
Tensor type
F32
·
Inference API
Unable to determine this model’s pipeline type. Check the docs .