Code Monkey home page Code Monkey logo

open-chatgpt's Introduction

Hi there, I'm Robin 👋

jianzhnie's GitHub Streak


Hi there 👋

Hey, I am jianzhnie, Thanks for stopping by!

I work as a full-time Machine Learning engineer and write tutorials on basic and advanced topics (NLP, Computer vision and code - lots of it).

I read and think a lot. And sometimes I put them in a form of a painting or a piece of music. And when I need to catch a breath I go for a run.

I’m currently working on 🔭

  • Developing the open source ChatGPT, Alpaca, Vicuna and RLHF Pipeline. open-chatgpt
  • Developing nlp-toolkit nlp-toolkit
  • Developing MultiModalTransformers MultiModalTransformers
  • Developing AutoML tools for DeepLearning Project and MacheLearning Project AutoTimm | AutoTabular
  • Trying hard to reduce the Learning Machine Learning(LML) loss 😂
  • Coding everyday for better research engineering skill

I’m currently learning 🌱

  • Theoretical Machine Learning from the basic
  • Pytorch and Pytorch-lightning
  • Transformer models (BERT,GPT, T5, VIT, SwinTransformer)
  • Reinformnet Learning (DQN, A2C, PPO, SAC, TD3 ...)

How to reach me 📫

Have an awesome day!

open-chatgpt's People

Contributors

jianzhnie 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-chatgpt's Issues

python train_reward_model.py module 'tensorflow' has no attribute 'data'

When I run "python train_reward_model.py", I get the following error. How can I solve it?
Python version 3.10.8

Traceback (most recent call last):
File "C:\Users\charley\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\utils\import_utils.py", line 1110, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Users\charley\AppData\Local\Programs\Python\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\charley\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\trainer.py", line 67, in
from .data.data_collator import DataCollator, DataCollatorWithPadding, default_data_collator
File "C:\Users\charley\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\data_init
.py", line 31, in
from .processors import (
File "C:\Users\charley\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\data\processors_init
.py", line 19, in
from .glue import glue_convert_examples_to_features, glue_output_modes, glue_processors, glue_tasks_num_labels
File "C:\Users\charley\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\data\processors\glue.py", line 79, in
examples: tf.data.Dataset,
AttributeError: module 'tensorflow' has no attribute 'data'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Windows\System32\open-chatgpt\examples\summarization\train_reward_model.py", line 4, in
from transformers import (AutoTokenizer, EarlyStoppingCallback, EvalPrediction,
File "", line 1075, in _handle_fromlist
File "C:\Users\charley\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\utils\import_utils.py", line 1100, in getattr
module = self._get_module(self._class_to_module[name])
File "C:\Users\charley\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\utils\import_utils.py", line 1112, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback):
module 'tensorflow' has no attribute 'data'

ChatGPT 4的代码生成是怎样训练的

使用chatgpt 4有一段时间了, 它的代码生成功能实在太强.
我很好奇这种功能是怎么训练的.
感觉用人工标注代码, 应该是行不通的. 因为很难用一种统一的标准来判定一份代码是好还是坏.

这么强悍的技术, 由一两家公司垄断是一件很恐怖的事情.
危险的不是技术本身, 而是使用技术的人.
有没有可能开源社区, 大家合作, 一起训练一个能挑战全面chatgpt的模型?

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.