---
base_model: sentence-transformers/all-MiniLM-L12-v2
datasets: []
language: []
library_name: sentence-transformers
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:2144
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: How do I find out when I should write my examinations?
sentences:
- Information relating to examination timetables is available from the Examination
Office and will be published on the official Institute Notice Board and the website.
- If you find an error on your academic record, you should contact the Registration
and Student Records Management Office immediately.
- To request accommodations for a disability, you must submit documentation of the
disability to the disability services office and meet with a disability services
coordinator.
- source_sentence: What is the language of instruction at the Harare Institute of
Technology?
sentences:
- English is the language of instruction.
- Tracking international events and conference and strategically link them to HIT,
internationalizing HIT programmes and activities, developing bouquet of events
and activities for international visitors, helping affiliate, accredit HIT, staff
and students to international bodies and associations, liaising with national
bodies and promote Zimbabwean culture and symbols, serving as a point of contact
for exchange students, staff and visitors, ensuring international programmes align
to national programmes and symbols, helping affiliate HIT ethos to national art
and culture, monitoring implementation of MoUs and MoAs, facilitation of international
travel and visits, providing Institute departments with consular advice, ensuring
HIT members get oriented to particular countries’ culture and services before
departure, driving recruitment of foreign students and exchange programmes.
- BFA 7206 is the course code for Financial Institutions Fraud, which is an elective
course in the second semester of the program.
- source_sentence: What is the process for collecting a certificate?
sentences:
- The programme is designed such that on completion, graduates should be able to
innovatively execute their professional role within prescribed and legislative
parameters, demonstrate a critical understanding and application of quality assurance
and radiation protection in Radiography, apply scientific knowledge and technical
skills to perform Radiography procedures, plan, develop and apply total quality
management appropriate to the Radiography context, apply management, entrepreneurial,
education and research skills independently and function in a supervisory clinical
governance and quality assurance capacity within the professional sector, demonstrate
the ability to reflect in clinical practice, critically evaluate and adjust to
current and new trends in Radiography, demonstrate capability to implement new
knowledge and solve problems in varying contexts, and engage life-long learning
and development in their profession.
- The process involves clearing any dues to the Institute and providing valid identification
documents.
- A student can apply for change of programme within two weeks after commencement
of lectures.
- source_sentence: How do I change my address or contact information?
sentences:
- Information Security & Assurance is a field that deals with the protection of
information and information systems from unauthorized access, use, disclosure,
disruption, modification, or destruction.
- The Information and Communications Technology Services (ICTS) Department at HIT
is responsible for providing and maintaining the Institute's IT infrastructure
and services.
- You can update your address or contact information through the online student
portal or by contacting the Academic Registry.
- source_sentence: What is the difference between Cloud Computing and Information
Security & Assurance?
sentences:
- The fourth semester focuses on courses such as Research Project, Clinical Practice
IV, and Seminar.
- Cloud Computing is focused on the design, implementation, and management of cloud
services, while Information Security & Assurance is focused on the protection
of information by mitigating information risks and ensuring availability, privacy,
and integrity of data.
- The Applied Research Methods course is designed to equip students with the skills
and knowledge necessary to conduct research in chemical engineering process and
plant design.
---
# SentenceTransformer based on sentence-transformers/all-MiniLM-L12-v2
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
## Model Details
### Model Description
- **Model Type:** Sentence Transformer
- **Base model:** [sentence-transformers/all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2)
- **Maximum Sequence Length:** 128 tokens
- **Output Dimensionality:** 384 tokens
- **Similarity Function:** Cosine Similarity
### Model Sources
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
### Full Model Architecture
```
SentenceTransformer(
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
)
```
## Usage
### Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
```bash
pip install -U sentence-transformers
```
Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("Dex-X/finehit")
# Run inference
sentences = [
'What is the difference between Cloud Computing and Information Security & Assurance?',
'Cloud Computing is focused on the design, implementation, and management of cloud services, while Information Security & Assurance is focused on the protection of information by mitigating information risks and ensuring availability, privacy, and integrity of data.',
'The Applied Research Methods course is designed to equip students with the skills and knowledge necessary to conduct research in chemical engineering process and plant design.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 2,144 training samples
* Columns: question
and answer
* Approximate statistics based on the first 1000 samples:
| | question | answer |
|:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
| type | string | string |
| details |
What is the role of the Dean of Students?
| The Dean of Students oversees various aspects of student life, including student affairs, campus life and development, accommodation, wellness, and more.
|
| What does the Student Affairs department do?
| The Student Affairs department handles matters related to student life, conduct, and welfare.
|
| What is the role of Campus Life and Student Development?
| Campus Life and Student Development is responsible for fostering a positive campus environment and promoting student growth and development.
|
* Loss: [MultipleNegativesRankingLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
```json
{
"scale": 20.0,
"similarity_fct": "cos_sim"
}
```
### Evaluation Dataset
#### Unnamed Dataset
* Size: 214 evaluation samples
* Columns: question
and answer
* Approximate statistics based on the first 1000 samples:
| | question | answer |
|:--------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
| type | string | string |
| details | What is Student Accommodation and Catering?
| Student Accommodation and Catering is a department that manages student housing and dining services.
|
| What certification does Mr. Njonga have from the National Social Security Authority?
| Safety and Health Advisor Certification
|
| What is the duration of the B Tech (Hons) Computer Science programme?
| The B Tech (Hons) Computer Science programme is a four-year full-time regular programme.
|
* Loss: [MultipleNegativesRankingLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
```json
{
"scale": 20.0,
"similarity_fct": "cos_sim"
}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `eval_strategy`: steps
- `per_device_train_batch_size`: 16
- `per_device_eval_batch_size`: 16
- `num_train_epochs`: 1
- `warmup_ratio`: 0.1
- `fp16`: True
- `batch_sampler`: no_duplicates
#### All Hyperparameters