gpt_3_encoder 1.0.0 copy "gpt_3_encoder: ^1.0.0" to clipboard
gpt_3_encoder: ^1.0.0 copied to clipboard

A pure Dart implementation of OpenAI's original Python encoder/decoder for GPT models.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add gpt_3_encoder

With Flutter:

 $ flutter pub add gpt_3_encoder

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  gpt_3_encoder: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:gpt_3_encoder/gpt_3_encoder.dart';
2
likes
150
points
27
downloads

Publisher

verified publishergwhyyy.com

Weekly Downloads

A pure Dart implementation of OpenAI's original Python encoder/decoder for GPT models.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on gpt_3_encoder