---
base_model: BAAI/bge-base-en-v1.5
library_name: sentence-transformers
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:50
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: Statistics & Probability
sentences:
- 'Course language: Python'
- 'Prerequisite course required: Intermediate Statistics'
- This course is designed for learners who would like to learn about statistics
and apply it for decision-making. This course is a comprehensive review of advanced
statistics topics on probability like permutations and combinations, joint probability,
conditional probability, marginal probability, and Bayes' theorem that provides
a way to revise existing predictions or update probabilities given new or additional
evidence.
- Professionals some Python experience who would like to expand their skill set
to more advanced Python visualization techniques and tools.
- source_sentence: Intermediate Statistics
sentences:
- 'Course language: Python'
- Professionals some Python experience who would like to expand their skill set
to more advanced Python visualization techniques and tools.
- This course is designed for learners who would like to learn about statistics
and apply it for decision-making. This course is a comprehensive review of intermediate
statistics topics like t-value, t-distribution, chi-square distribution, f-statistic,
and f-distribution that enable us to compare observed and expected frequencies
objectively.
- 'Prerequisite course required: Introduction to Statistics'
- source_sentence: Cypress
sentences:
- Cypress is an end-to-end testing framework for your web application. This course
explores its features, core concepts, its ecosystem, and how to write tests.
- 'Course language: TBD'
- 'Prerequisite course required: Unit Testing in Jest'
- Professionals who would like to explore the world of testing web applications
- source_sentence: Intermediate Outlier Detection
sentences:
- 'Prerequisite course required: Intro to Outlier Detection'
- Detecting outlier data points are powerful machine learning techniques. This course
covers how techniques like Local Outlier Factor and Isolation Forest play a role
in anomaly and outlier detection. By the end of the course, students will learn
to implement these techniques to identify anomalous data points
- 'Course language: Python'
- Professionals with some Python experience who would like to expand their skills
to learn about various outlier detection techniques
- source_sentence: 'React Ecosystem: Forms'
sentences:
- 'Course language: JavaScript'
- 'Prerequisite course required: React Ecosystem: API Calls'
- Professionals who would like to learn about advanced concepts that would allow
them to build interactive websites with React.
- A course that builds on the foundations of React framework and expands learners'
skills to more advanced concepts.
---
# SentenceTransformer based on BAAI/bge-base-en-v1.5
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-base-en-v1.5](https://huggingface.co./BAAI/bge-base-en-v1.5). It maps sentences & paragraphs to a 768-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:** [BAAI/bge-base-en-v1.5](https://huggingface.co./BAAI/bge-base-en-v1.5)
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 768 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': 512, 'do_lower_case': True}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, '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("datasocietyco/bge-base-en-v1.5-course-recommender-v2")
# Run inference
sentences = [
'React Ecosystem: Forms',
"A course that builds on the foundations of React framework and expands learners' skills to more advanced concepts.",
'Course language: JavaScript',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 50 training samples
* Columns: name
, description
, languages
, prerequisites
, and target_audience
* Approximate statistics based on the first 50 samples:
| | name | description | languages | prerequisites | target_audience |
|:--------|:--------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
| type | string | string | string | string | string |
| details |
Autoencoders
| This course takes students through a journey into the world od autoencoders - a set of powerful deep learning models that have a special place in the world of image analysis. By the end of this course students will be able to navigate through the application space of autoencoders and implement autoencoders to perform tasks such as image denoising and more.
| Course language: Python
| Prerequisite course required: Convolutional Neural Networks (CNN) for Image Recognition
| Professionals some Python experience who would like to expand their skillset to more advanced machine learning algorithms for image processing and computer vision.
|
| Advanced CNN
| This course build on the subject of Convolutional Neural Networks and dives into the complex pre-trained state-of-the-art CNN architectures. It also gives students a preview of what transfer learning is and why it is such a powerful concept in Deep Learning. By the end of this course students will be able to have implemented and explored pre-trained models such as ResNet, VGG16, and Inception3.
| Course language: Python
| Prerequisite course required: Convolutional Neural Networks (CNN) for Image Recognition
| Professionals some Python experience who would like to expand their skillset to more advanced machine learning algorithms for image processing, computer vision, and transfer learning.
|
| Advanced Clustering in R
| This course covers the unsupervised learning method called clustering which is used to find patterns or groups in data without the need for labelled data. This course includes application of different methods of clustering on categorical or mixed data, equipping learners to build, evaluate, and interpret these models.
| Course language: R
| Prerequisite course required: Intermediate Clustering in R
| Professionals with some R experience who would like to expand their skillset to learn the core unsupervised learning techniques. Analysts with experience in another similar programming language who would like to learn core unsupervised learning frameworks and packages in R.
|
* 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: 50 evaluation samples
* Columns: name
, description
, languages
, prerequisites
, and target_audience
* Approximate statistics based on the first 50 samples:
| | name | description | languages | prerequisites | target_audience |
|:--------|:--------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
| type | string | string | string | string | string |
| details | Autoencoders
| This course takes students through a journey into the world od autoencoders - a set of powerful deep learning models that have a special place in the world of image analysis. By the end of this course students will be able to navigate through the application space of autoencoders and implement autoencoders to perform tasks such as image denoising and more.
| Course language: Python
| Prerequisite course required: Convolutional Neural Networks (CNN) for Image Recognition
| Professionals some Python experience who would like to expand their skillset to more advanced machine learning algorithms for image processing and computer vision.
|
| Advanced CNN
| This course build on the subject of Convolutional Neural Networks and dives into the complex pre-trained state-of-the-art CNN architectures. It also gives students a preview of what transfer learning is and why it is such a powerful concept in Deep Learning. By the end of this course students will be able to have implemented and explored pre-trained models such as ResNet, VGG16, and Inception3.
| Course language: Python
| Prerequisite course required: Convolutional Neural Networks (CNN) for Image Recognition
| Professionals some Python experience who would like to expand their skillset to more advanced machine learning algorithms for image processing, computer vision, and transfer learning.
|
| Advanced Clustering in R
| This course covers the unsupervised learning method called clustering which is used to find patterns or groups in data without the need for labelled data. This course includes application of different methods of clustering on categorical or mixed data, equipping learners to build, evaluate, and interpret these models.
| Course language: R
| Prerequisite course required: Intermediate Clustering in R
| Professionals with some R experience who would like to expand their skillset to learn the core unsupervised learning techniques. Analysts with experience in another similar programming language who would like to learn core unsupervised learning frameworks and packages in R.
|
* 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
- `learning_rate`: 3e-06
- `max_steps`: 64
- `warmup_ratio`: 0.1
- `batch_sampler`: no_duplicates
#### All Hyperparameters