Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 081 #764

Merged
merged 2 commits into from
Jul 26, 2023
Merged

chore: release 081 #764

merged 2 commits into from
Jul 26, 2023

Conversation

bwanglzu
Copy link
Member

@bwanglzu bwanglzu commented Jul 26, 2023

Release Note Finetuner 0.8.1

This release covers Finetuner version 0.8.1, including dependency finetuner-core 0.13.10.

This release contains 1 new feature, 1 refactoring and 1 documentation improvement.

🆕 Features

Add Jina Tiny Embedding model

We have included jina-embedding-t-en-v1 in our list of supported models. This very small embedding model, comprising 14 million parameters, offers lightning-fast inference on CPUs.

In our experiments, it was able to encode 1730 sentences per second on a Macbook Pro Core-i5, making it perfectly suitable for edge devices. To utilize the Tiny model, follow these steps:

!pip install finetuner
import finetuner

model = finetuner.build_model('jinaai/jina-embedding-t-en-v1')
embeddings = finetuner.encode(
    model=model,
    data=['how is the weather today', 'What is the current weather like today?']
)
print(finetuner.cos_sim(embeddings[0], embeddings[1]))

⚙ Refactoring

Remove typing-extensions from Finetuner dependencies

We have eliminated the dependency on typing-extensions due to compatibility issues when using the Finetuner on Google Colab.

📗 Documentation Improvements

Add Tiny model and technical report to Finetuner Readme and Docs. (#763)

We have updated the documentation page to include information about jina-embedding-t-en-v1. We have also added technical reports and citation details to the README and documentation page.

🤟 Contributors

We would like to thank all contributors to this release:


  • This PR references an open issue
  • I have added a line about this change to CHANGELOG

@bwanglzu bwanglzu merged commit 69ae77c into main Jul 26, 2023
8 checks passed
@bwanglzu bwanglzu deleted the chore-release-081 branch July 26, 2023 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants