Code Monkey home page Code Monkey logo

language-model-sts-cft's Issues

Improve discoverability of your work on HF

Hi,

Niels here from the open-source team at Hugging Face. Congrats on your work! I discovered your work through the paper page: https://huggingface.co/papers/2408.00690 (feel free to claim the paper so that it appears at your HF account!).

It's great to link the ๐Ÿค— Collection to the paper, and add the paper itself to the collection.

See here on how to do that: https://huggingface.co/docs/hub/en/paper-pages#linking-a-paper-to-a-model-dataset-or-space.

Cheers,

Niels
ML Engineer @ HF ๐Ÿค—

STS Evaluation

  • STS Benchmark (validation set) can be used for evaluation during training
  • This benchmark can imply how well the model create an embedding vector given a sentence
  • Score will be calculated using Spearman Correlation

Enlarge Batch Size Per GPU

The result of training with batch_size_per_gpu = 2 is unstable.

image
  • The key success of contrastive learning heavily depends on batch size
  • batch_size_per_gpu = 2 has already consumed ~45% of GPU memory (RTX3090)
  • Now using a normal DDP strategy + bf16 Mixed Precision + LoRA for training

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.