Why are models like Llama implemented again in examples/models/ ?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 581
Description
Hi everyone,
I noticed that in executorch, the models are also implemented in examples/model/ which are used for exporting the model to ExportedProgram. My question is how is this model implementation different from HF implementation and also the optimum-executorch flow for exporting the models.
cc @mergennachin @iseeyuan @lucylq @helunwencser @tarun292 @kimishpatel @jackzhxng
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the model implementations under examples/model/ and compare them with the referenced Hugging Face implementation and the optimum-executorch export flow. This issue is complete when the documentation clearly explains why the examples contain separate model implementations and how they differ from those export paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- documentation, machine-learning
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100