Code Monkey home page Code Monkey logo

fujisaki's People

Contributors

ljsabc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fujisaki's Issues

feature need: wechat or qq support need

Thank you! I really enjoy it and can`t hesitate to train a version of myself!
could you add a feather to use the message log from WeChat or qq?
This is because most of us in mainland use these software more frequently, and these feature will make more people available

Sample file requirements

感谢您为社区贡献了非常有趣的工作!我一直在关注您的进展,非常希望可以复现这个repo,但是我并没有活跃的推特账号和内容,我希望能用其他平台的数据进行训练。请问您是否可以提供一个示例的推文存档,或者如readme中所提到的tweets.md文件的示例呢?里面可以只包含几条数据,这样我就可以尝试将其他平台的数据以相同的方式组织起来,用于finetune模型了。

Demo is broken

It seems the huggingface's demo is broken now

image

After cloning the local and running some simple tests, the issues should be related to the attention / tokenizer (I guess?)

File ~/anaconda3/envs/pth/lib/python3.9/site-packages/transformers/generation/utils.py:737, in GenerationMixin._update_model_kwargs_for_generation(self, outputs, model_kwargs, is_encoder_decoder, standardize_cache_format)
    735     if "attention_mask" in model_kwargs:
    736         attention_mask = model_kwargs["attention_mask"]
--> 737         model_kwargs["attention_mask"] = torch.cat(
    738             [attention_mask, attention_mask.new_ones((attention_mask.shape[0], 1))], dim=-1
    739         )
    740 else:
    741     # update decoder attention mask
    742     if "decoder_attention_mask" in model_kwargs:

RuntimeError: Tensors must have same number of dimensions: got 4 and 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.