I hereby claim:
- I am adnahmed on github.
- I am adnaahm (https://keybase.io/adnaahm) on keybase.
- I have a public key ASBcN7IhoOLJiwFW2vhmN8ScDr0AuN-SSo1OB9iwbMT6TQo
To claim this, I am signing this object:
#!/bin/bash | |
# Name: Internet Time | |
# Version: 1 | |
# Author: Adnan Ahmed Khan | |
# Contact: mailtoadnan.ahmed@gmail.com | |
# Description: Swatch Internet Time (Swatch Clock) | |
# calculate the time of the future | |
GetInternetTime(){ |
I hereby claim:
To claim this, I am signing this object:
For conversion, we assume that you are using MAC OS
machine. We follow CoreML tutorial, i.e.,
first convert the PyTorch model to JIT, and then convert to CoreML model.
We can convert the classification models using the following command
rsync (Everyone seems to like -z, but it is much slower for me)
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.https://oneleaf.icu/account.html
Enjoy the benefits of a Baidu account without any cost, and access up to 5 GB of free downloads. Don't miss out on this offer!
// @ts-check | |
const { openai } = require('../lib/openai'); | |
exports.getSummary = async (/** @type {string} */ description) => { | |
/** @type {import('openai/resources').ChatCompletionMessageParam[]} */ | |
const messages = [ | |
{ | |
role: 'system', | |
content: 'The user will provide you with text delimited by triple quotes. Summarize the user-provided text in a maximum of 300 words in language used by user. Try to keep the summary as short as possible.', | |
}, |