2021-02-26 04:05:02 +01:00
|
|
|
// Matrix Construct
|
|
|
|
//
|
|
|
|
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
|
|
|
// Copyright (C) 2016-2021 Jason Volk <jason@zemos.net>
|
|
|
|
//
|
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
|
|
// copyright notice and this permission notice is present in all copies. The
|
|
|
|
// full license for this software is available in the LICENSE file.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#define HAVE_IRCD_GPT_GPT_H
|
|
|
|
|
|
|
|
/// Generative Pre-trained Transformer
|
|
|
|
///
|
|
|
|
namespace ircd::gpt
|
|
|
|
{
|
|
|
|
IRCD_EXCEPTION(ircd::error, error)
|
2021-03-05 02:03:33 +01:00
|
|
|
|
2021-03-10 09:18:23 +01:00
|
|
|
struct task;
|
2021-03-05 02:03:33 +01:00
|
|
|
|
|
|
|
extern log::log log;
|
2021-02-26 04:05:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#include "vocab.h"
|
2021-03-05 02:03:33 +01:00
|
|
|
#include "model.h"
|
2021-04-02 22:01:38 +02:00
|
|
|
#include "token.h"
|
2021-09-18 05:53:53 +02:00
|
|
|
#include "opts.h"
|
|
|
|
#include "ctrl.h"
|
|
|
|
#include "task.h"
|
2021-04-02 22:01:38 +02:00
|
|
|
#include "pipe/pipe.h"
|
2021-03-10 09:18:23 +01:00
|
|
|
#include "generate.h"
|