python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Chunked tokenization in huggingface has an arrow error
I'm following the code from this video at 1m25s, which shows:
def tokenize_and_chunk(texts):
return tokenizer(
texts["text"], truncation=True, max_length=context_length,
return ove...
Mittenchops
Votes: 0
Answers: 1
Converting Apache Arrow Table to RecordBatch in c++
I would like to obtain a std::shared_ptr<arrow::RecordBatch> from an std::shared_ptr<arrow::Table> as
std::shared_ptr<arrow:Table> table = ...
auto rb = std::RecordBatch::Make(table-...
marital_weeping
Votes: 0
Answers: 1
How to decode Arrow Flight `FlightData` with a pure gRPC client
I came across a situation where we need to use a plain gRPC client (through the grpc.aio API) to talk to an Arrow Flight gRPC server.
The DoGet call did make it to the server, and we have received a ...

liuyu
Votes: 0
Answers: 1
pyarrow Table to PyObject* via pybind11
#include <pybind11/pybind11.h>
#include <Python.h>
#include <iostream>
#include <arrow/python/pyarrow.h>
#include <arrow/table.h>
// Convert pyarrow table to native C++ ...
marital_weeping
Votes: 0
Answers: 1