Skip to content

Simple embedding -> text model trained on a small subset of Wikipedia sentences.

Notifications You must be signed in to change notification settings

MF-FOOM/wikivec2text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wikivec2text

Simple embedding -> text model trained on a tiny subset of Wikipedia sentences (~7m) embedded via text-embedding-ada-002.

Used to demonstrate the arithmetic properties of sentence embeddings (like word2vec, but for sentence embeddings), e.g:

Warning The checkpoint on HF is a gpt2-small finetuned heavily on a small subset of well-formatted Wikipedia sentences like Ten years later, Merrill Lynch merged with E. A. Pierce.

Since these sentences are so structured and formal, it's very easy to go OOD if you're not careful. Stick to informational sentences that could plausibly appear in an encyclopedia, always start sentences with a capital letter, end with a period, etc.

Acknowledgements

Built on nanoGPT.

About

Simple embedding -> text model trained on a small subset of Wikipedia sentences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages