This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from transformers import AutoModelForCausalLM, AutoTokenizer | |
from trl import GRPOConfig, GRPOTrainer | |
import numpy as np | |
from datasets import load_from_disk, Dataset | |
import re | |
from peft import LoraConfig | |
model_id = "Qwen/Qwen2.5-0.5B-Instruct" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/gen2brain/malgo" | |
) | |
func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cheerio = require('cheerio'); | |
const axios = require('axios'); | |
const createCsvWriter = require('csv-writer').createObjectCsvWriter; | |
const csvWriter = createCsvWriter({ | |
path: 'out.csv', | |
header: [ | |
{id: 'hospitalName', title: 'Hospital Name'}, | |
{id: 'lastUpdate', title: 'Last Update'}, | |
{id: 'address', title: 'Address'}, | |
{id: 'number', title: 'Phone Number'}, |