mldocs icon indicating copy to clipboard operation
mldocs copied to clipboard

add docs for huggingface transformers

Open somvy opened this issue 2 years ago • 2 comments

Hello! You did a great work creating this extension. It saved me a lot of time. Thank you very much!

i am using it via raycast extension

It would be great if you add huggingface transformers library. It is very frustrating to google every page of it's huge api documentation, then wait to load, ctrl+f and so on.

If you are still interested in supporting this extention, i'd like to help add this feature. pls contact me

somvy avatar Nov 29 '23 17:11 somvy

Sorry, I saw this today. Let me see what I can do.

lsgrep avatar Dec 21 '23 16:12 lsgrep

Hi! Any updates)?

somvy avatar May 21 '24 16:05 somvy

@somvy btw I saw this recently. I have submitted a PR in the raycast extension. Should be available soon :)

sadanand-singh avatar Feb 03 '25 04:02 sadanand-singh

Wow, that's really great! Thank you for the work.

Would you mind sharing the link?

somvy avatar Feb 03 '25 06:02 somvy

still in the process of PR reviews. One thing where you can help me out is the currently parsed docs: https://raw.githubusercontent.com/sadanand-singh/mldocs-data/refs/heads/main/data/ml.json. Look towards the end. Is that good enough, or should I go into class levels. Issue is parsing from https://huggingface.co/docs/transformers/index is limited. If you know a better place to get these APIs, that would be helpful.

sadanand-singh avatar Feb 03 '25 06:02 sadanand-singh

hmmm

maybe parsing directly from github docs will be more feasible?

here is readme to build docs locally -- https://github.com/huggingface/transformers/tree/main/docs

and all of the docs and model classes

somvy avatar Feb 03 '25 09:02 somvy

Hi guys, I've added support for models & main classes for the Transformers.

https://github.com/lsgrep/mldocs/pull/21

lsgrep avatar Feb 04 '25 06:02 lsgrep

Cool. I can use the same strategy to update the Raycast extension as well.

sadanand-singh avatar Feb 04 '25 06:02 sadanand-singh