# New Model Architecture

**URL:** <https://discuss.huggingface.co/t/new-model-architecture/62520>\
**Category:** Intermediate\
**Created:** [November 16, 2023, 6:08pm UTC](https://discuss.huggingface.co/t/new-model-architecture/62520 "2023-11-16T18:08:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Q-bert](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/q-bert/32/20900_2.png) [@Q-bert](https://discuss.huggingface.co/u/Q-bert)\
**Post date:** [November 16, 2023, 6:08pm UTC](https://discuss.huggingface.co/t/new-model-architecture/62520/1 "2023-11-16T18:08:25Z")

</div>

I am writing a new model architecture. Its implementation is almost complete. I’m wondering how to integrate it into the hub. I forked the transformers lib and tried copying a model architecture, but it didn’t work and it gave too many errors. How are things going at transformers lib?

And i completed the architecture . But i must edit the code. And i have few questions.  
Do we write the task classes or does someone else?  
What features should we pay attention to in the files?  
Sorry, this will be my first PR.
