Moved to https://api.fmhy.net
| # train_grpo.py | |
| # | |
| # See https://github.com/willccbb/verifiers for ongoing developments | |
| # | |
| """ | |
| citation: | |
| @misc{brown2025grpodemo, | |
| title={Granular Format Rewards for Eliciting Mathematical Reasoning Capabilities in Small Language Models}, | |
| author={Brown, William}, |
| import json | |
| import os | |
| from collections import deque | |
| root_dir = '~/slack_messages' | |
| target_user = "UMQN69N8M" | |
| res = [] | |
| for dirpath, dirnames, filenames in os.walk(root_dir): |
Install Node using NVM
A guide to using NVM to install versions of Node.
If you don't have NVM yet, see Install NVM gist.
- Install a target Node.js version. A short version will do.
$ nvm install 14
Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.
Source: tutorialspoint.com
| module.exports = { | |
| webpack: function (config, env) { | |
| return config; | |
| }, | |
| jest: function (config) { | |
| return config; | |
| }, | |
| // configFunction is the original react-scripts function that creates the | |
| // Webpack Dev Server config based on the settings for proxy/allowedHost. | |
| // react-scripts injects this into your function (so you can use it to |
| When Invalid Host Header when ngrok tries to connect to Angular or React dev server use this form for run ngrok. | |
| ngrok http 8080 -host-header="localhost:8080" | |
| ngrok http --host-header=rewrite 8080 |
🚨 2020 Update: I recommend using mkcert to generate local certificates. You can do everything below by just running the commands brew install mkcert and mkcert -install. Keep it simple!
This gives you that beautiful green lock in Chrome. I'm assuming you're putting your SSL documents in /etc/ssl, but you can put them anywhere and replace the references in the following commands. Tested successfully on Mac OS Sierra and High Sierra.
sudo nano /etc/ssl/localhost/localhost.conf