Skip to content

Model Support #2

@dreaming-panda

Description

@dreaming-panda
  1. Create independent files for model layers and models.
  2. Search for chat/code template and add in umbrella/template.py.
  3. Register the models you write in umbrella/models/auto_model.py
  4. To run the models, we can use python generate.py --model <model you add> --template <template you add>. generate.py is in ./example/
  5. Compare the results with huggingface. The example is attached. You need to adjust the model, input to make sure they are the same as you run the models with generate.py.
  6. Submit a PR to let me review your code before merging.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions